<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="icon" href="images/icons/favicon.png"/>
    <title>vacayhome</title>
</head>
<body>
<!---header top---->

    <div class="container">
        <div class="row">
            <div class="col-md-6">
            </div>
            <div class="col-md-6">
                <div class="social-grid">
                    <ul class="list-unstyled text-right">
                        <li><a><i class="fa fa-facebook"></i></a></li>
                        <li><a><i class="fa fa-twitter"></i></a></li>
                        <li><a><i class="fa fa-linkedin"></i></a></li>
                        <!--<li><a><i class="fa fa-instagram"></i></a></li>-->
                        <li><a href="/front_percenter"><span th:text="${#session.getAttribute('username')}"></span></a></li>
                        <li>
                        <shiro:hasAnyRoles name="管理员,超级管理员">
                        <a href="/back_index"><span>管理员后台</span></a>
                        </shiro:hasAnyRoles>
                        </li>
                        <li><a href="/cart/showcar">购物车</a></li>
                        <li><a href="/logout">[退出]</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

</body>
</html>